<?php  
  add_action('admin_menu', 'myconfig_admins');
  function myconfig_admins()
  {   
     add_menu_page( 'My Setting', 'My Setting', 'administrator', 'my-setting', 'my_theme_setting');
  }  
  function my_theme_setting()
  {
  		## tuy bien user
  		global $current_user;
  		get_currentuserinfo();		
    ?>		 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	
	<title>Order Detail</title>	
	<link href="<?php bloginfo('template_url');?>/admins/css/style.css" rel="stylesheet" type="text/css" />
	<link href="<?php bloginfo('template_url');?>/admins/css/tabcontent.css" rel="stylesheet" type="text/css" />
	<script src="<?php bloginfo('template_url');?>/admins/js/tabcontent.js" 			type="text/javascript" ></script>  
	<script src="<?php bloginfo('template_url');?>/admins/js/jquery.js" 			type="text/javascript" ></script>  
			
	</head>	
	<body>			
			<div id="my_theme_options_content" style="width: 98%;">
                <!-- Tab choosen -->
		           <ul id="countrytabs_admin" class="shadetabs">          
		           	 	<li><a href="#" rel="mySetting_company_info">Company</a></li>
		           	 	<li><a href="#" rel="mySetting_company_branches">Branch Office</a></li>
                        <li><a href="#" rel="mySetting_seo">Seo </a></li>
                        <li><a href="#" rel="mySetting_mail_managerment">Management support contact</a></li>
                        <!-- <li><a href="#" rel="mySetting_sidebar_left_right">Sidebar trái/phải</a></li> -->
                        <li><a href="#" rel="mySetting_why_choose_us">Why choose us? </a></li>            
                        <li><a href="#" rel="mySetting_company_logo">Site Logo</a></li>  
                         <li><a href="#" rel="mySetting_company_management_user">Management User</a></li>                
                    </ul>
                 <!-- End Tab choosen -->   
                    <div class="box-tabs">                    
                    <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
                       
                       <!-- ++++++++++++++++ Cập nhật tùy chỉnh trang company branches ++++++++++++++++++ -->
                        <div id="mySetting_company_branches" class="tabcontent"> 
    			          	<?php include TEMPLATEPATH.'/admins/views/config_company_branches.php';?>
    	           		</div>
	           		   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	           		   
	           		   <!-- ++++++++++++++++ Cập nhật tùy chỉnh trang company branches ++++++++++++++++++ -->
                        <div id="mySetting_company_management_user" class="tabcontent"> 
    			          	<?php include TEMPLATEPATH.'/admins/views/config_management_user.php';?>
    	           		</div>
	           		   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	           		   
	           		    <!-- ++++++++++++++++ Cập nhật tùy chỉnh trang company branches ++++++++++++++++++ -->
                        <div id="mySetting_mail_managerment" class="tabcontent"> 
    			          	<?php include TEMPLATEPATH.'/admins/views/admin_suport.php';?>
    	           		</div>
	           		   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
                       
	           		   <!-- ++++++++++++++++ Cập nhật tùy chỉnh trang support online ++++++++++++++++++ -->
                        <div id="mySetting_company_info" class="tabcontent"> 
    			          	<?php include TEMPLATEPATH.'/admins/views/config_company_info.php';?>
    	           		</div>
	           		   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	           		   
	           		   <!-- ++++++++++++++++ Cập nhật tùy chỉnh trang company branches ++++++++++++++++++ -->
                        <div id="mySetting_company_logo" class="tabcontent"> 
    			          	<?php include TEMPLATEPATH.'/admins/views/admin_logo.php';?>
    	           		</div>
	           		   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	           		   
	           		    <!-- ++++++++++++++++ Cập nhật tùy chỉnh trang why choose us ++++++++++++++++++ -->
                        <div id="mySetting_why_choose_us" class="tabcontent"> 
    			          	<?php include TEMPLATEPATH.'/admins/views/config_why_choose_us.php';?>
    	           		</div>
	           		   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	           		   
                       <!-- ++++++++++++++++ Cập nhật tùy chỉnh trang SEO ++++++++++++++++++ -->
                        <div id="mySetting_seo" class="tabcontent"> 
    			          	<?php include TEMPLATEPATH.'/admins/views/config_seo.php';?>
    	           		</div>
	           		   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
                      
                          
                     <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->	                    
	           		 </div>
		             <script type="text/javascript">
						var countries=new ddtabcontent("countrytabs_admin")
						countries.setpersist(true)
						countries.setselectedClassTarget("link") 
						countries.init()
					</script>						             
    	</div>
    	</body>
	</html>
    <?php
  }

